package com.shiyang.prototype;

/**
 * @author shiyang date: 2020/9/8
 */
public class Client {
    public static void main(String[] args) {
        Sheep sheep = new Sheep("tom", 1, "白色");

        Sheep sheep1 = new Sheep(sheep.getName(), sheep.getAge(), sheep.getColor());
        // sheep2, sheep3......

        System.out.println(sheep);
        System.out.println(sheep1);
    }
}
